package com.myj.jim.service;

import java.util.List;
import java.util.Map;

import com.myj.jim.domain.Operator;
import com.myj.jim.domain.OperatorRole;
import com.myj.jim.domain.OperatorRoleAuthority;
import com.myj.jim.domain.bootstraptable.BootstrapTableJSON;

public interface OperatorService {
	public BootstrapTableJSON<Operator> findPage(Map<String,Object> map);
	
	public boolean save(Operator op, String roleSelectionsJson);
	
	public boolean update(Operator op, String roleSelectionsJson);
	
	public boolean isExist(String loginid);
	
	public void delete(Integer[] ids);
	
	public Operator login(Operator op);
	
	public List<OperatorRole> getRoleListByLoginid(String loginid);
	
	public List<OperatorRoleAuthority> selectOperatorRoleAuthorityByLoginid(String loginid);
	
	public List<Operator> getOperatorListByIds(Integer[] idsArr);
}
